import request from '../utils/request';
//查询商品
export const getSpList = query => {
    return request({
        url: '/product/getSpList',
        method: 'get'
    });
};
//设置货架
export const setHuoJia = query => {
    return request({
        url: '/product/setHuoJia',
        method: 'post',
        data: query
    });
};
//设置商品
export const setSp = query => {
    return request({
        url: '/product/setSp',
        method: 'post',
        data: query
    });
};
//设置规格
export const setGuiGe = query => {
    return request({
        url: '/product/setGuiGe',
        method: 'post',
        data: query
    });
};